Optimal. Leaf size=59 \[ \frac{x \sqrt{1-a^2 x^2}}{6 a}-\frac{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}+\frac{\sin ^{-1}(a x)}{6 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0485783, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {5994, 195, 216} \[ \frac{x \sqrt{1-a^2 x^2}}{6 a}-\frac{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}+\frac{\sin ^{-1}(a x)}{6 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5994
Rule 195
Rule 216
Rubi steps
\begin{align*} \int x \sqrt{1-a^2 x^2} \tanh ^{-1}(a x) \, dx &=-\frac{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}+\frac{\int \sqrt{1-a^2 x^2} \, dx}{3 a}\\ &=\frac{x \sqrt{1-a^2 x^2}}{6 a}-\frac{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}+\frac{\int \frac{1}{\sqrt{1-a^2 x^2}} \, dx}{6 a}\\ &=\frac{x \sqrt{1-a^2 x^2}}{6 a}+\frac{\sin ^{-1}(a x)}{6 a^2}-\frac{\left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)}{3 a^2}\\ \end{align*}
Mathematica [A] time = 0.0420423, size = 49, normalized size = 0.83 \[ \frac{a x \sqrt{1-a^2 x^2}-2 \left (1-a^2 x^2\right )^{3/2} \tanh ^{-1}(a x)+\sin ^{-1}(a x)}{6 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.233, size = 99, normalized size = 1.7 \begin{align*}{\frac{2\,{a}^{2}{x}^{2}{\it Artanh} \left ( ax \right ) +ax-2\,{\it Artanh} \left ( ax \right ) }{6\,{a}^{2}}\sqrt{- \left ( ax-1 \right ) \left ( ax+1 \right ) }}+{\frac{{\frac{i}{6}}}{{a}^{2}}\ln \left ({(ax+1){\frac{1}{\sqrt{-{a}^{2}{x}^{2}+1}}}}+i \right ) }-{\frac{{\frac{i}{6}}}{{a}^{2}}\ln \left ({(ax+1){\frac{1}{\sqrt{-{a}^{2}{x}^{2}+1}}}}-i \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.43938, size = 80, normalized size = 1.36 \begin{align*} -\frac{{\left (-a^{2} x^{2} + 1\right )}^{\frac{3}{2}} \operatorname{artanh}\left (a x\right )}{3 \, a^{2}} + \frac{\sqrt{-a^{2} x^{2} + 1} x + \frac{\arcsin \left (\frac{a^{2} x}{\sqrt{a^{2}}}\right )}{\sqrt{a^{2}}}}{6 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.06703, size = 163, normalized size = 2.76 \begin{align*} \frac{\sqrt{-a^{2} x^{2} + 1}{\left (a x +{\left (a^{2} x^{2} - 1\right )} \log \left (-\frac{a x + 1}{a x - 1}\right )\right )} - 2 \, \arctan \left (\frac{\sqrt{-a^{2} x^{2} + 1} - 1}{a x}\right )}{6 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \sqrt{- \left (a x - 1\right ) \left (a x + 1\right )} \operatorname{atanh}{\left (a x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2134, size = 86, normalized size = 1.46 \begin{align*} -\frac{{\left (-a^{2} x^{2} + 1\right )}^{\frac{3}{2}} \log \left (-\frac{a x + 1}{a x - 1}\right )}{6 \, a^{2}} + \frac{\sqrt{-a^{2} x^{2} + 1} x + \frac{\arcsin \left (a x\right ) \mathrm{sgn}\left (a\right )}{{\left | a \right |}}}{6 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]